home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Tool Chest / Development Tools & Languages / Dylan Related / Mindy / Mindy 1.2 - portable sources / comp / fileops.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-03-15  |  3.5 KB  |  136 lines  |  [TEXT/ttxt]

  1. /**********************************************************************\
  2. *
  3. *  Copyright (c) 1994  Carnegie Mellon University
  4. *  All rights reserved.
  5. *  
  6. *  Use and copying of this software and preparation of derivative
  7. *  works based on this software are permitted, including commercial
  8. *  use, provided that the following conditions are observed:
  9. *  
  10. *  1. This copyright notice must be retained in full on any copies
  11. *     and on appropriate parts of any derivative works.
  12. *  2. Documentation (paper or online) accompanying any system that
  13. *     incorporates this software, or any part of it, must acknowledge
  14. *     the contribution of the Gwydion Project at Carnegie Mellon
  15. *     University.
  16. *  
  17. *  This software is made available "as is".  Neither the authors nor
  18. *  Carnegie Mellon University make any warranty about the software,
  19. *  its performance, or its conformity to any specification.
  20. *  
  21. *  Bug reports, questions, comments, and suggestions should be sent by
  22. *  E-mail to the Internet address "gwydion-bugs@cs.cmu.edu".
  23. *
  24. ***********************************************************************
  25. *
  26. * $Header: fileops.h,v 1.12 94/11/28 07:55:34 wlott Exp $
  27. *
  28. * This file defines the various file opcodes.
  29. *
  30. \**********************************************************************/
  31.  
  32.  
  33. #define dbc_MagicNumber 0x6e789abe
  34.  
  35. #define file_MajorVersion 2
  36. #define file_MinorVersion 1
  37.  
  38. #define fop_FLAME 0
  39. #define fop_HEADER 1
  40. #define fop_STORE 2
  41. #define fop_SHORT_REF 3
  42. #define fop_REF 4
  43.  
  44. #define fop_FALSE 5
  45. #define fop_TRUE 6
  46. #define fop_UNBOUND 7
  47.  
  48. #define fop_SIGNED_BYTE 8
  49. #define fop_SIGNED_SHORT 9
  50. #define fop_SIGNED_INT 10
  51. #define fop_SIGNED_LONG 11
  52. #define fop_CHAR 12
  53. #define fop_SINGLE_FLOAT 13
  54. #define fop_DOUBLE_FLOAT 14
  55. #define fop_EXTENDED_FLOAT 15
  56.  
  57. #define fop_SHORT_STRING 16
  58. #define fop_STRING 17
  59. #define fop_SHORT_SYMBOL 18
  60. #define fop_SYMBOL 19
  61.  
  62. #define fop_NIL 20
  63. #define fop_LIST1 21
  64. #define fop_LIST2 22
  65. #define fop_LIST3 23
  66. #define fop_LIST4 24
  67. #define fop_LIST5 25
  68. #define fop_LIST6 26
  69. #define fop_LIST7 27
  70. #define fop_LIST8 28
  71. #define fop_LISTN 29
  72.  
  73. #define fop_DOTTED_LIST1 30
  74. #define fop_DOTTED_LIST2 31
  75. #define fop_DOTTED_LIST3 32
  76. #define fop_DOTTED_LIST4 33
  77. #define fop_DOTTED_LIST5 34
  78. /* Note: 35 is taken by '#' */
  79. #define fop_DOTTED_LIST6 36
  80. #define fop_DOTTED_LIST7 37
  81. #define fop_DOTTED_LIST8 38
  82. #define fop_DOTTED_LISTN 39
  83.  
  84. #define fop_VECTOR0 40
  85. #define fop_VECTOR1 41
  86. #define fop_VECTOR2 42
  87. #define fop_VECTOR3 43
  88. #define fop_VECTOR4 44
  89. #define fop_VECTOR5 45
  90. #define fop_VECTOR6 46
  91. #define fop_VECTOR7 47
  92. #define fop_VECTOR8 48
  93. #define fop_VECTORN 49
  94.  
  95. #define fop_VALUE_CELL 50
  96. #define fop_WRITABLE_VALUE_CELL 51
  97. #define fop_BUILTIN_VALUE_CELL 52
  98. #define fop_BUILTIN_WRITABLE_VALUE_CELL 53
  99. #define fop_NOTE_REFERENCE 54
  100.  
  101. #define fop_SHORT_COMPONENT 55
  102. #define fop_COMPONENT 56
  103. #define fop_SHORT_METHOD 57
  104. #define fop_METHOD 58
  105.  
  106. #define fop_IN_LIBRARY 60
  107. #define fop_IN_MODULE 61
  108. #define fop_SOURCE_FILE 62
  109. #define fop_TOP_LEVEL_FORM 63
  110. #define fop_DEFINE_CONSTANT 64
  111. #define fop_DEFINE_VARIABLE 65
  112. #define fop_DEFINE_GENERIC 66
  113. #define fop_DEFINE_METHOD 67
  114. #define fop_DEFINE_CLASS 68
  115. #define fop_DEFINE_LIBRARY 69
  116. #define fop_DEFINE_MODULE 70
  117.  
  118. #define fop_VARREF_EXPR 100
  119. #define fop_LITERAL_EXPR 101
  120. #define fop_CALL_EXPR 102
  121. #define fop_DOT_EXPR 103
  122. #define fop_METHOD_EXPR 104
  123. #define fop_BODY_EXPR 105
  124. #define fop_BLOCK_EXPR 106
  125. #define fop_IF_EXPR 107
  126. #define fop_VARSET_EXPR 108
  127. #define fop_LOOP_EXPR 109
  128. #define fop_REPEAT_EXPR 110
  129.  
  130. #define fop_EXPR_CONSTITUENT 120
  131. #define fop_LOCAL_CONSTITUENT 121
  132. #define fop_HANDLER_CONSTITUENT 122
  133. #define fop_LET_CONSTITUENT 123
  134.  
  135. #define fop_DONE 255
  136.